//
// 质因数分解
// Created by Administrator on 2024/7/6.
//

#include <iostream>
using namespace std;

int main()
{
    int n = 2*2*2*3*5*11*101;
//    n=3;
    cout<<n<<endl;
    for (int i = 2; i*i <=n ; ++i)
    {
        while(n%i==0)
        {
            cout<<i<<' ';
            n/=i;
        }
    }
    if(n>1)
        cout<<'*'<<n;
    return 0;
}